Interrupt driven reconfiguration of configurable receiver front end module

ABSTRACT

In one aspect, a method comprises: receiving, in a controller of a wireless device, at least one of a first interrupt or a second interrupt, where: the first interrupt is to indicate that a receive radio frequency (RF) signal received in a front end circuit of the wireless device is overloading at least a low noise amplifier (LNA) of the front end circuit; and the second interrupt is to indicate that the receive RF signal is overloading at least a passive network of a system on chip (SoC) of the wireless device; and in response to the at least one of the first interrupt or the second interrupt, reconfiguring the front end circuit from a first mode into a second mode, where a relative order of a receiver RF signal processing path is different in the first mode than in the second mode.

CROSS-REFERENCE TO RELATED APPLICATION

The present application is a continuation-in-part of U.S. patentapplication Ser. No. 17/851,534, filed on Jun. 28, 2022, the content ofwhich is hereby incorporated by reference.

BACKGROUND

Many small wireless devices include multiple integrated circuits andother components, all of which are typically adapted on a circuit board.In many instances, transceiver circuitry that performs transmit andreceive functions couple to multiple off-chip components includingfilters, amplifiers and so forth. In many cases, separate off-chipcomponents are required. For example, there may be a first off-chipfilter to couple to a transmit path and a separate second off-chipfilter to couple to a receive path. In this way, circuit board area isundesirably consumed and bill of material costs increase.

In addition, for optimum operation depending on an environment in whichthe wireless device is located, oftentimes particular radio solutionsare designed to statically operate in a single environment, whichprevents flexibility. Instead in devices that can dynamically adapt toan environment, there can be difficulties in identifying an optimalconfiguration and moving between different modes of operation.

SUMMARY OF THE INVENTION

In one aspect, a method comprises: receiving, in a controller of awireless device, at least one of a first interrupt or a secondinterrupt, where: the first interrupt is to indicate that a receiveradio frequency (RF) signal received in a front end circuit of thewireless device is overloading at least a low noise amplifier (LNA) ofthe front end circuit; and the second interrupt is to indicate that thereceive RF signal is overloading at least a passive network of a systemon chip (SoC) of the wireless device; and in response to the at leastone of the first interrupt or the second interrupt, reconfiguring thefront end circuit from a first mode into a second mode, where a relativeorder of a receiver RF signal processing path is different in the firstmode than in the second mode.

In an embodiment, the method further comprises in response to the firstinterrupt, reconfiguring the front end circuit from the first modecomprising a rural mode in which an input to the LNA is coupled anantenna to a second mode comprising an urban mode in which the input tothe LNA is coupled to an RF filter. The method may further comprise:receiving, in the controller of the wireless device, the secondinterrupt when the front end circuit is in the second mode; and inresponse to the second interrupt, reconfiguring the front end circuitfrom the second mode to a third mode comprising a bypass mode in whichthe LNA is bypassed.

In an embodiment, the method further comprises in response to the secondinterrupt, reconfiguring the front end circuit from a rural mode inwhich an input to the LNA is coupled an antenna to a third modecomprising a bypass mode in which the LNA is bypassed. The method alsomay include receiving the first interrupt from a comparator, thecomparator to generate the first interrupt when power level informationregarding the receive RF signal exceeds a first threshold. The methodalso may include receiving the second interrupt when power levelinformation regarding the receive RF signal received from a detectorcoupled to the passive network exceeds a second threshold.

In an embodiment, the method further comprises in response to receivingthe first interrupt and the second interrupt, prioritizing the secondinterrupt, and reconfiguring the front end circuit from the first modeto a third mode in which the LNA is bypassed. The method also mayinclude: receiving, in the controller of the wireless device, the firstinterrupt when the front end circuit is in the second mode; in responseto the first interrupt, resetting a timeout period; and after thetimeout period, reconfiguring the front end circuit from the second modeto the first mode.

In another aspect, a method includes: configuring a front end circuit ofa wireless device into a first mode in which a LNA is included in areceiver RF signal processing path; and reconfiguring the front endcircuit into a second mode in which the LNA is bypassed, based at leastin part on an overload condition in an RF circuit of a SoC of thewireless device, the RF circuit of the SoC coupled to receive a receiveRF signal from the front end circuit.

In an embodiment, the method further comprises reconfiguring the frontend circuit from the second mode to the first mode after a timeoutperiod. The method also may include reconfiguring the front end circuitinto a third mode in which the LNA is located at a different relativeposition in the receiver RF signal processing path than in the firstmode, based at least in part on an overload condition in the front endcircuit. The method may further include: receiving, in a controller ofthe SoC, a first interrupt in response to the power level of the receiveRF signal exceeding a first threshold; and reconfiguring the front endcircuit into the third mode in response to the first interrupt.

In an embodiment, the method further comprises: receiving, in the SoC, apower level of the receive RF signal and in response to the power levelof the receive RF signal exceeding a first threshold, reconfiguring thefront end circuit from the first mode into a third mode in which aninput of the LNA is coupled to a RF filter of the receiver RF signalprocessing path; and receiving, in the SoC, the power level of thereceive RF signal and in response to the power level of the receive RFsignal exceeding a second threshold different from the first threshold,reconfiguring the front end circuit from the third mode into the secondmode. Configuring the front end circuit into the first mode comprisingcausing an input of the LNA to be coupled to an antenna.

In another embodiment, a computer readable medium (e.g., anon-transitory storage medium) includes instructions and/or data that,when executed, cause a device to perform the method of any of the aboveembodiments. In yet another embodiment, an apparatus comprises means forperforming the method of any one of the above embodiments.

In another aspect, a wireless device comprises: a first integratedcircuit comprising a RF front end module and a second integrated circuitcoupled to the first integrated circuit. The RF front end module mayinclude: a transmit path to receive, process and output a transmit RFsignal, the transmit path comprising a power amplifier; a receive pathto receive, process and output a receive RF signal, the receive pathcomprising a LNA; switching circuitry coupled to the transmit path andthe receive path; a control circuit coupled to the switching circuitry.The control circuit may control the switching circuitry to configure thereceive path for operation in one of a plurality of modes. The secondintegrated circuit may include a controller to: in response to a firstinterrupt, configure the receive path of the first integrated circuitinto a second mode in which a receiver RF signal processing path has asecond sensitivity level; maintain a timeout time during operation inthe second mode; and after the timeout time, reconfigure the receivepath of the first integrated circuit from the second mode to a firstmode having a first sensitivity level, the first sensitivity levelgreater than the second sensitivity level.

In an embodiment, the controller is to cause the control circuit toconfigure the receive path for the operation in the second mode inresponse to an overload of the LNA, where in the second mode the receivepath comprises an RF filter having an output coupled to an input of theLNA. The controller may receive the first interrupt to indicate theoverload of the LNA, the second integrated circuit comprising acomparator to compare a power level of the receive RF signal to acomparison signal and generate the first interrupt in response to thepower level of the receive RF signal exceeding the comparison signal.

In an embodiment, the controller is to cause the control circuit toconfigure the receive path for the operation in a third mode in whichthe LNA is bypassed in response to an overload of an RF circuit of thesecond integrated circuit. The controller may receive a second interruptto indicate the overload of the RF circuit, the second integratedcircuit comprising a detector coupled to the RF circuit to detect theoverload of the RF circuit and generate the second interrupt in responseto the detection of the overload of the RF circuit. The controller, inresponse to: the first interrupt, is to configure the receive path forthe operation in the second mode in which an LNA is coupled to receivethe receive RF signal from an RF filter; a second interrupt, is toconfigure the receive path for the operation in a third mode in whichthe LNA is bypassed; the first interrupt and the second interrupt, is toconfigure the receive path for the operation in the third mode.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a high level block diagram of a portion of a deviceincorporating an embodiment.

FIG. 2 is a schematic diagram illustrating further details of a switcharrangement in accordance with an embodiment.

FIG. 3 is a flow diagram of a method in accordance with an embodiment.

FIGS. 4A-4C are schematic diagrams illustrating various configurablemodes in which a wireless device in accordance with an embodiment may beused.

FIGS. 5A-5C are schematic diagrams illustrating various configurablemodes in which a wireless device in accordance with an embodiment may beplaced.

FIGS. 6A-6B are block diagrams of a system on chip in accordance with anembodiment.

FIG. 7 is a flow diagram of a method in accordance with an embodiment.

FIGS. 8A-8B are state diagrams of operation in accordance with anembodiment.

FIGS. 9A-9B are flow diagram of methods in accordance with otherembodiments.

FIG. 10 is a flow diagram of a method in accordance with yet anotherembodiment.

FIG. 11 is a block diagram of a representative IoT device thatincorporates an embodiment.

FIG. 12 is a high level diagram of a network in accordance with anembodiment.

DETAILED DESCRIPTION

In various embodiments, an integrated circuit having transceivercircuitry may further include switch circuitry to enable both a transmitpath and a receive path to use a single off-chip filter. The switchcircuitry may be dynamically controlled depending on mode of operation(e.g., receive or transmit) to programmably and dynamically directappropriate receive or transmit signals to such off-chip filter. In atransmit direction, this single off-chip filter may couple between atransmit driver and a transmit power amplifier. And in a receivedirection, this single off-chip filter may couple between a receive portand an on-chip amplifier. Such switch circuitry may be implemented withminimal insertion loss that has minimal effect on system performance.

With embodiments, a single off-chip filter may provide sufficientsuppression of spurs for transmit signals, and in a receive mode mayprovide filtering of blocking signals and enhancing immunity. Althoughembodiments are not limited in this regard, implementations of atransceiver that include such switching circuitry may be used in avariety of different device types including sub-gigahertz (GHz)industrial scientific and medical (ISM) devices, such as may operate ata frequency range of somewhere between approximately 850 megahertz (MHz)and 925 MHz.

In some implementations, there may be multiple receive modes, includinga so-called rural mode which may be used in an environment in whichthere are relatively few blocking or other interfering signals. In arural mode, switching circuitry may be controlled to provide a receivepath in which an incoming RF signal received via an antenna is providedfirst to a low noise amplifier (LNA) and then to an off-chip filter.Instead in a so-called urban mode, which may be active when a device isin an urban or other highly congested environment in which there may bepotentially many blocking or interfering signals, switching circuitrymay be controlled such that an incoming RF signal received via anantenna is first provided to the off-chip filter before being providedto the LNA. A further receive mode may be a bypass mode in which the LNAis bypassed, which may be used when incoming signal strength issufficiently large. As will be described herein, wireless devices can becontrolled, statically or dynamically, to operate in one or more ofthese receive modes.

By such control, a receiver implementation may realize a good noisefigure in a rural environment while the same receiver, differentlyconfigured, may realize good blocking in an urban environment. Note alsoit is possible in both transmit and receive modes for the off-chipfilter to be bypassed. Still further, in some situations for a transmitmode an external power amplifier also may be bypassed when a transmit RFsignal is received within the RF front end circuit with sufficient powerfor a given environment. For example, in certain countries, e.g., Japan,an ISM device may have regulatory requirements that limit its outputpower to 13 dBm (or 14 dBm in Europe). In such an implementation, theexternal power amplifier can be bypassed. Also in such cases, if a RFsignal output from SoC 110 is greater than a certain power level (e.g.,10 dBm), the off-chip filter may be bypassed, to avoid damage that couldoccur from providing it a signal that exceeds its capability.

Referring now to FIG. 1 , shown is a high level block diagram of aportion of a device such as an IoT device incorporating an embodiment.As illustrated in FIG. 1 , IoT device 100 may be any type of IoT devicethat has wireless communication capabilities. In one or moreembodiments, IoT device 100 may operate with a radio that uses the samefrequency band for transmit and receive (half duplex), as opposed tocellular, which has different frequency for uplink and downlink. Whileembodiments may vary, the IoT device may be a metering device, anactuator device, a sensor device, wireless microcontroller (MCU),wireless camera, wireless speaker, wireless microphone, wirelesslighting controller, lightbulb, or so forth.

In the high level shown in FIG. 1 , a system on chip (SoC) 110 couplesvia an RF front end circuit 150 to an antenna 180, which may be used forboth transmit and receive operations. Of course in otherimplementations, there may be separate antennas for receive andtransmit. In the embodiment of FIG. 1 , SoC 110 may be implemented inone integrated circuit (IC) and RF front end circuit 150 implemented inanother IC. By providing multiple ICs, different IC processes can beused to fabricate the different ICs. For example, a first IC includingRF front end circuit 150 may be optimized for RF performance, while asecond IC including SoC 110 may be optimized for digital design. Inother cases, both of these components may be implemented in a single IC.In typical cases, the circuitry of SoC 110 may be implemented on onesemiconductor die and the circuitry of RF front end circuit 150 may beimplemented on a different semiconductor die, whether implemented inseparate ICs or in the same IC package. Further, while the specificimplementation of FIG. 1 includes an SoC, in other cases, some othertype of digital processor such as a baseband processor and/orapplication processor may be present.

Starting with SoC 110, a digital circuit 120 is present, which mayperform the overall processing of the device. Although embodiments arenot limited in this regard, the processing may include activities suchas performing sensing, metering, controller functionality, actuatorfunctionality or so forth. To enable wireless communication, digitalinformation may be provided from digital circuit 120 to an analogcircuit 130. In general, analog circuit 130 may include transceivercircuitry having transmit and receive paths including signal processingcircuitry that perform various processing, including digital-to-analogconversion (in the transmit direction) and analog-to-digital conversion(in the receive direction), upconversion and downconversion, filtering,amplification and so forth.

Analog circuit 130 may transform the digital signals to analog form andfurther perform upconversion and other signal processing to generate RFsignals. As seen in FIG. 1 , analog circuit 130 may optionally include apower amplifier (PA) 132 that may amplify the incoming RF signals andoutput them to RF front end circuit 150.

In a receive direction, incoming receive signals that are received inSoC 110 couple to analog circuit 130. As further shown optionally a LNA134 may be provided for gain control, before additional signalprocessing is performed. This signal processing may include, e.g.,filtering, further gain control, and downconversion to result in digitalsignals that are provided to digital circuit 120.

RF front end circuit 150 also has transceiver circuitry includingtransmit and receive paths. With respect to the transmit path, incomingRF signals received from SoC 110 couple through switch circuitry 155.Understand that switch circuitry 155 is shown at a high level, logicallyas a single block. In practice, a number of different switches may beimplemented within RF front end circuit 150 to perform the configurableswitching and communication of receive and transmit signals according todifferent modes, as described further herein. That is, while switchcircuitry 155 is shown as a single block, the multiple physical switchinstantiations may be located throughout RF front end circuit 150. Also,by way of switch circuitry 155, both receive and transmit paths mayleverage a single RF filter 170 coupled to RF front end circuit 150,thus reducing bill of materials (BOM) costs. In various embodiments, RFfilter 170 may be implemented as a surface acoustic wave (SAW) filter.While for purposes of discussion, this RF filter is generally referredto herein as a SAW filter, understand that any type of RF filter,including various bandpass or low pass filters can be used.

With respect to the transmit path, RF signals to be transmitted maycouple through switch circuitry 155 to SAW filter 170 (optionally), backthrough switch circuitry 155 and to a PA 160 for further amplification,before being output (through additional circuitry in switch circuitry155) to antenna 180.

In a receive path, incoming RF signals received by antenna 180 coupleinto switch circuitry 155. Such receive RF signals, before or after gaincontrol in a LNA 165, may be filtered by SAW filter 170, and passfurther through switch circuitry 155 and thereafter be sent to SoC 110,and more specifically to analog circuit 130. Understand that while shownin the high level of FIG. 1 with a single LNA 165, in some cases theremay be multiple LNAs that can be controllably coupled with SAW filter170. For example, a received RF signal may pass through a first LNA,then through SAW filter 170, and then through a second LNA before beingprovided to SoC 110. And such multiple LNAs can be controlled to bebypassed, such that none, one, or both such LNAs may be part of areceive path.

In some cases, SoC 110 may provide an output signal at a power level ofapproximately zero dBm, which can be amplified both within PA 132 ofanalog circuit 130 of SoC 110 and PA 160 (or in cases, PA 160 may bebypassed). Note that in some cases, SAW filter 170 may be designed toonly withstand approximately 10 dBm of power, such that in the transmitdirection the transmit RF signal may be filtered in SAW filter 170 priorto further amplification.

As further shown in FIG. 1 , SoC 110 may include a microcontroller unit(MCU) 135. Among its duties, MCU 135 sends mode control signals to RFfront end circuit 150. As seen, these signals may be provided to acontroller 158 (which may be implemented as a microcontroller, finitestate machine or so forth). In response to such control signals,controller 158 may dynamically configure and reconfigure switchcircuitry 155 to operate in a given one of a transmit or receive mode(as RF front end circuit 150 can only operate in a transmit or receivedirection at any given time). Still further, in various implementationsthere may be multiple receive modes and potentially multiple transmitmodes available and which may entail different configurations of switchcircuitry 155. Understand while shown at this high level in theembodiment of FIG. 1 , many variations and alternatives are possible.

Referring now to FIG. 2 , shown is a schematic diagram illustratingfurther details of a switch arrangement in accordance with anembodiment. As shown in FIG. 2 , a device 200 shows a more detailed viewof a switch circuit implementation. In general, device 200 may be asimilar IoT device as device 100 of FIG. 1 , and thus to the extent thatthe same numbering conventions are used in FIG. 2 (although of the “200”series rather than the “100” series of FIG. 1 ), like components areshown and in some cases are not further discussed below.

At a high level, device 200 includes an SoC 210, an RF front end circuit250, a SAW filter 270, and an antenna 280. SoC 210 is shown in theillustration of FIG. 2 as having a transmit power amplifier 232 and areceive LNA 234.

In the transmit direction, PA 232 outputs a differential RF signal thatcouples through a differential impedance match circuit 240 (formed ofinductors L1, L2 and capacitors C1, C2). The matched differential RFsignal is converted to single-ended form via a balun 245. Of course,other topologies are possible for RF matching and transition fromdifferential to single-ended signals. The resulting single-endedtransmit RF signal couples to RF front end circuit 250 via a transmitport B, which also may be used as a test port.

In the transmit direction, RF front end circuit 250 includes a transmitsignal path including various switches and other circuitry to processand direct the transmit RF signal to its destination, namely, antenna280. More specifically, with reference to FIG. 2 , the transmit RFsignal may couple through switches SW1 and SW2 (either with attenuationvia an attenuator 268 using additional switch SW7, or unattenuated) tobe directed to SAW filter 270 (via off-chip ports D and E,respectively). In an embodiment SAW filter 270 may be a bandpass filterconfigured to pass a band appropriate for a given device (e.g., between875 and 950 MHz). After being filtered in SAW filter 270, the filteredtransmit RF signal couples through switch SW3 and to power amplifier(PA) 260, before being output through matching circuitry 263 (includinginductor L4 and capacitors C5, C6). From there, the amplified transmitRF signal couples through switch SW4 and is output from RF front endcircuit 250 and through a low pass filter (LPF) 275 to antenna 280coupled to a port A. In an embodiment, LPF 275 may be a third order lowpass harmonic filter having a typical loss level of approximately 0.5dB. Note that the position of LPF 275 and SAW filter 270 may not beswapped, as in some use cases, the RF signal level that passes throughLPF 275 would cause damage to SAW filter 270. In an embodiment, LPF 275is designed to have much less insertion loss and much higher powerrating than SAW filter 270, but may also have much less selectivity anda wider transition.

Still with reference to FIG. 2 , in a receive direction, incoming RFsignals pass through antenna 280 and LPF 275 and into RF front endcircuit 250. In the receive direction, the incoming receive RF signalcouples through switch SW4 and, depending upon mode, either directly toLNA 265 (via switch SW8) or via switch SW3 to SAW filter 270 (andthereafter through switches SW2 and SW8) and then to LNA 265. Thisdetermination may be based on whether filtering is desired before orafter amplification in LNA 265.

As seen, it is further possible for the amplified receive RF signaloutput by LNA 265 to pass through switches SW5 and SW3 to SAW filter270. In yet other cases, SAW filter 270 may be bypassed in the receivedirection, such that the amplified receive RF signal is provideddirectly from switches SW4 and SW8 through LNA 265 and through switchesSW5 and SW6, and thereafter off-chip through an impedance matchingcircuit 245 formed of inductor L3 and capacitor C3 to SoC 210, and morespecifically, to LNA 234.

Still further it is possible in the receive direction for attenuation tooccur via attenuator 268 that couples between switch SW2 and switch SW7and in turn, provides the attenuated receive RF signal to SoC 210through switch SW6. While switches SW1-SW8 are illustrated in FIG. 2 asvarious single pole multiple throw (P/T switches), other types ofswitches may be used.

Of course while shown with this particular implementation with theabove-described paths through RF front end circuit 250, switchingcircuitry may take various forms to enable transmit and receive paths toshare a single SAW filter, reducing costs and complexity. Howeverembodiments are not limited in this regard, and it is possible for thereto be multiple filters present. And in this case, it is also possible toswitch into the receive path multiple different filters for differentbands of operation. Furthermore, it is possible by way of differentcontrol of the various switches to enable both transmit and receive RFsignals to pass through the respective transmit and receive paths indifferent orders.

Still referring to FIG. 2 , controller 258 may dynamically configure thevarious switches to enable operation in a desired transmit or receivemode, as well as sub-modes that may be available in a givenimplementation. To this end, controller 258 receives incoming front endcontrol signals from SoC 210 (more specifically from MCU 235).

In response to these control signals, controller 258 may control thevarious switches as described above. In a particular embodiment, MCU 235may output four front end mode control signals. Controller 258, based atleast in part on these control signals, may dynamically configure theswitches of RF front end circuit 250 accordingly. With four controllines being provided to controller 258, there may be sufficientprogrammability for 16 different modes, with approximately half of thesemodes available for transmit operations and half available for receiveoperations. Or certain states can be reserved for other modes such astesting or measurement modes.

Referring now to FIG. 3 , shown is a flow diagram of a method inaccordance with an embodiment. As shown in FIG. 3 , method 300 is amethod for controlling switch circuitry of an RF front end circuit suchas may be performed by a controller or other hardware circuit within theRF front end circuit. In some cases, the controller may executeinstructions stored in a non-volatile memory. In an embodiment, thisnon-volatile memory may be implemented as a non-transitory storagemedium that can store instructions and data. Such non-volatile memorymay store instructions, including instructions for receiving modecontrol signals and controlling switch circuitry in response to the modecontrol signals, as described herein.

As illustrated, method 300 begins by receiving front end control signalsfrom a processor (block 310). As discussed above, there may be aplurality of control lines that provide control signals to indicate adesired mode and sub-mode, namely transmit or receive mode, andpotential sub-modes including any bypass modes, urban/rural modes or soforth. Next at block 320, the front end control signals may be decoded,e.g., in the controller of the RF front end circuit.

Still with reference to FIG. 3 , control passes to block 330 whereswitch circuity of the RF front end circuit may be dynamicallyconfigured based at least in part on these decoded signals. In anembodiment as in FIG. 2 , the single pole multiple throw switches may becontrolled to provide a selected connection between a common port and agiven one of the available throw ports. At this point the RF front endcircuit is appropriately configured for operation in a given mode. Assuch, at block 340 RF signals may be communicated through the RF frontend circuit via this configured switch circuitry. In this way, transmitor receive RF signals may pass through at least some of the switchcircuitry according to a desired path such that the RF signals mayoptionally pass through a single external SAW filter, which may be usedfor both transmit and receive modes. Understand while shown at this highlevel in the embodiment of FIG. 3 , many variations and alternatives arepossible.

In various embodiments, receiver system performance may be optimized forradios (especially OFDM radios) used in wireless networks, for differentRF spectrum environments. By controlling the switching circuitrydescribed herein, a wireless device may operate in a given one ofmultiple modes. Although embodiments describe three modes, referred toas rural, urban, and bypass modes, understand that additional ordifferent modes may be available using the techniques described herein.

The determination of which mode to operate in may be based at least inpart on RF signal level detection information received from one or moreRF level detectors present in a receiver RF signal processing path. Acontroller may determine when a mode switch is to be performed based atleast in part on such information. In other cases, another entity maydetermine an appropriate mode without reference to this detectedinformation. For example, an installer or central entity could set themode, e.g., based on knowledge of location. Or a selected mode may beconfigurable based on SoC derived information such as SoC signal qualityor RSSI or packet error rate information.

Thus in embodiments, a front end module (FEM) may have a plurality ofreceiver operating modes to provide optimal reception under variousinterfering conditions. The most protected mode, the bypass mode, interms of interference handling, has also the largest noise figure whichimpacts (degrades) the receive sensitivity. In general, going to a moreprotected operating mode comes at the price of a reduced receivesensitivity. In one or more embodiments, if there is no severeinterference the least protected operating mode (the rural mode) may beused, as this results in the highest receive sensitivity.

When the signal level of a receive RF signal exceeds a given threshold,the signal could potentially harm LNA performance by overloading itsinput. When such an overload condition is detected, the controller mayreconfigure the FEM to a more protected mode (e.g., one of urban orbypass modes) to protect the LNA. In different circumstances the FEM maytransition from rural to urban mode, or from urban to bypass mode, orfrom rural to bypass mode. For example, when transitioning from rural tourban mode, it may be that the signal level of the receive RF signal isno longer crossing a given detection threshold, in which case the LNAcan operate without severe overload issues. When transitioning to bypassmode the LNA is bypassed in which case the LNA overload issues areavoided all together. After transitioning to a more protected mode, somedegradation in noise figure can be incurred, and thus it may not bedesirable to stay in the more protected mode indefinitely.

In rural environments, longer distance between radios is needed toreduce network costs. Better sensitivity enables longer distancecoverage. Having no signal loss (filters have signal loss) between theantenna and the LNA provides best sensitivity, but performance withstrong out of band blocking signals would suffer because they would notbe filtered before reaching the LNA. Fortunately, rural locations oftenhave fewer blockers than urban locations. Thus in an embodiment, in arural mode, the optimal relative ordering within a receiver RF signalprocessing path may be antenna, LNA, filter, and thereafter to areceiver back end. In one or more embodiments, a broad bandwidth RFlevel detector may be coupled to an input of the LNA. This RF detectormay measure the signal coming in from the antenna when in the ruralmode.

In certain implementations, firmware or other controller mechanism maybe used to cause a wireless device having a front end module inaccordance with an embodiment to enter into a rural mode as a startingmode. If the RF level detector determines that the signal level is lowenough (e.g., less than a first threshold) that the LNA will notexperience any significant distortion, then reception may continuesafely in this mode. Note that a calibration can be done to set thistransition threshold accurately.

Strong undesired signals, like those that are out of band, can distortdesired signals. The impact that distortion has on OFDM desired signalscan be much worse than FSK desired signals. If the undesired signal isalso an OFDM signal such as used in cellular LTE, the distortion can beeven worse. If the RF level detector determines that the signal level ishigh enough that the LNA may experience distortion and corrupt thedesired RF signal, then the controller may cause a quick change to theurban mode.

In urban environments, radios are typically densely populated, and thuslong distance capabilities are not needed as much. Strong out of bandblocking signals may be prevalent, and blockers are usually the limitingfactor in system performance. Having a filter between the antenna andLNA hurts sensitivity, but greatly attenuates the out of band blockers.

Thus in an embodiment, in an urban mode the optimal relative orderingwithin a receiver RF signal processing path may be antenna, filter, LNAand thereafter to the receiver back end. The RF level detector may bepositioned on the LNA input and the filter output. With thisconfiguration, the signal level of out of band blockers can be greatlyreduced. If the RF level detector determines that the signal level islow enough that the LNA will not experience distortion, then receptioncontinues safely in this mode. If a strong blocking signal is within thepass band of the filter, it would not reduce it. It is possible that theRF level detector may determine that the signal level is high enoughthat the LNA may experience distortion and corrupt the desired RFsignal. In this case, the controller may cause a quick change to thebypass mode.

Bypass mode may be used in environments in which radios are so denselypopulated that the LNA is not needed and can even cause distortion, evenwhen the filter is in front of it. In such cases, in the bypass mode theoptimal relative ordering within a receiver RF signal processing pathmay be antenna and filter (bypassing the LNA) and thereafter to thereceiver back end. In this mode, an RF level detector placed between theantenna and the filter may be used to determine if the strong blockingsignals have gone away.

The RF level detection and mode changing can occur quickly enough thatit is possible to simply begin each receive operation in rural mode, andswitch to the next more protected mode only when needed.

Using a front end module having configurable switching circuitry asdescribed herein, various applications may install a common architectureof a radio in any location and the radio can actively accommodate theenvironment, even if the environment changes. Such environment changemay be, as an example, where a location is initially less denselypopulated and as time goes on, additional development occurs, bringingwith it a much larger amount of radios within the environment.

In other cases, certain applications may already know the environment inwhich it is being deployed. In these cases, the application can lock aradio into only a single desired mode for the deployed environment,e.g., by firmware setting. The hardware still allows deployment in anyof the three environments and avoids the need for three different typesof hardware to be developed, produced, and stocked. In contrast,existing techniques require changes to radio architecture design and aretailored to only one specific environment. Existing techniques do notallow for firmware setting of desired mode when the environment is knownand established ahead of time, nor do existing techniques allow fordynamic adapting to various RF spectrum environments as environmentschange.

Referring now to FIGS. 4A-4C, shown are schematic diagrams illustratingvarious configurable modes in which a wireless device in accordance withan embodiment may be used.

Starting first with FIG. 4A, shown is a schematic diagram of a wirelessdevice 400 in a first operating mode, namely a rural mode 401. In thehigh level illustrated in FIG. 4A, a receive RF signal processing pathproceeds from an antenna 480, through an antenna pin (Ant) to an LNA 465and thereafter to a SAW filter 475 (which may be an off-chip SAW filter)via additional pins SAW2 and SAW1. Thereafter, the amplified andfiltered RF signal is output to a companion device (e.g., an SoC notshown for ease of illustration in FIG. 4A) via another pin (Rx). Ofcourse additional signal processing within a front end module may occur.

Note that the various components discussed above in FIG. 4A maycorrespond to those discussed above with relation to FIG. 2 (identifiedwith the same reference numerals, albeit of the “400” series), and assuch they are not further discussed. While not shown for ease ofillustration in FIG. 4A, understand that switching circuitry of a frontend module, as controlled by control signals received from the SoC, maycause the configuration of wireless device 400 into rural mode 401.

Referring now to FIG. 4B, shown is a schematic diagram of wirelessdevice 400 in a second operating mode, namely an urban mode 402. In thehigh level illustrated in FIG. 4B, the relative locations of SAW filter475 and LNA 465 are swapped. Understand that no physical hardwaredifferences exist since the same hardware remains in the same locations:rather by way of the switching circuitry, the receive RF signalprocessing path shown in FIG. 4B is realized.

Now with reference to FIG. 4C, shown is a schematic diagram of wirelessdevice 400 in a third operating mode, namely a bypass mode 403. In thehigh level illustrated in FIG. 4C, the receive RF signal processing pathproceeds from antenna 480 and to SAW filter 475, and then the filteredRF signal is output to the companion device, without passing through anLNA.

Understand while FIGS. 4A-4C show particular modes possible with awireless device in accordance with an embodiment, other arrangements arepossible. Furthermore, while a single SAW filter and a single LNA areshown, in other instances a wireless device and its included front endmodule may include multiple LNAs and SAW filters, with appropriateselection of an active component by way of switching circuitry such asdescribed herein.

Still further, in some implementations, there may be additionalcircuitry that couples between a SAW filter and an antenna. For example,a transmission line (having a non-zero length) or an inductor may becoupled off chip on a path between the antenna and SAW filter. Thesecomponents where present may be used to provide an impedance matchingfunction and potentially provide additional filtering. In general theSAW filter can be regarded as a filter that is passing the frequencyband of interest with relatively low attenuation and is attenuatingfrequencies outside the band of interests. One skilled in the art willunderstand that the SAW filter can be replaced by other types of filter,such as a filter built by any combination of transmission lines,inductors, and capacitors. In addition, the SAW filter could be acombined with additional filtering, like additional SAW filters or afilter built from capacitors and inductors. In differentimplementations, a variety of filter types could be implemented likebandpass filters, notch filters, low-pass filters or high-pass filters.

Furthermore, understand while FIGS. 4A-4C illustrate three differentoperating modes, it is possible for a given wireless device, asprogrammed for a particular end user in a field location, may beconfigured, either statically or dynamically, to enable only one or twoof the operating modes. Thus depending upon the actual use case, onlyone or two of the three above-described operating modes may beavailable, although the underlying hardware to effect the relativecomponent arrangements of FIGS. 4A-4C is present.

For example, a designer or provisioner of a wireless deviceincorporating an embodiment may determine when provisioning a wirelessnetwork that environment to enable/disable certain modes statically. Inthis way, embodiments provide the ability to configure wireless devicesinto a network to enable/disable certain modes and/or to control whichmodes/combinations are allowed to occur in what order.

As one such example assume during provisioning that conditions indicatea network environment existing in a high blocker area. In thissituation, wireless devices may be configured into the networkstatically to enable/disable certain modes and/or allowed statetransitions. In this example, wireless devices placed in this highblocker area can be configured to start operation in urban mode (and/orto disable rural mode).

Depending upon particular system implementation, selection of an activeoperating mode (in a dynamic instance) may be controlled by an SoC. Indifferent implementations, the SoC may make such decisions based onreceipt and analysis of metric information regarding incoming RF signals(e.g., in the form of received signal strength information (RSSI),signal-to-noise ratio (SNR), blocker information, or other signalquality metric information). In still other cases, a front end modulemay include one or more detector circuits such as RF detectors tomeasure RF signal levels at various points within a receiver RF signalprocessing path and provide such level information for use by acontroller of the SoC.

Referring now to FIGS. 5A-5C, shown are schematic diagrams illustratingvarious configurable modes in which a wireless device in accordance withan embodiment may be placed, based at least in part on power levelinformation obtained from power detector circuitry.

As illustrated in FIG. 5A, a wireless device 500 may be arranged in arural mode 501 as in FIG. 4A (and thus the same reference numerals,albeit of the “500” series, are used). As shown wireless device 500includes, in addition to RF front end circuitry, an SoC 510. Inaddition, a sense amplifier 554 and a detector circuit 555 areillustrated. In one or more embodiments, detector circuit 555 may beimplemented as an RF peak detector.

As seen in the rural mode implementation of FIG. 5A, sense amplifier 554and detector circuit 555 couple to an input of LNA 565 such that an RFlevel detected within detector circuit 555 provides a signal level ofthe received RF signal from antenna 580. In the illustration of FIG. 5A,note that this signal level information output by detector circuit 555is provided to SoC 510 via another pin (Analog sense).

As illustrated in FIG. 5B, wireless device 500 may be arranged in anurban mode 502 as in FIG. 4B (and thus the same reference numerals,albeit of the “500” series, are used). The same relative location ofdetector circuit 555 with respect to LNA 565 occurs in urban mode 502 asin rural mode 501; however, the RF signal input to detector circuit 555(via sense amplifier 554) has been filtered in filter 575. Note that itis possible for there to be additional detector circuits such as asecond RF peak detector (including amplifier and peak detector) used tomonitor the signal level at pad SAW2. This detected information could beused to determine when to transition back from urban to rural mode. Forexample, when there is a strong out of band blocker present, the secondpeak detector measures a much higher value than the first peak detector.When the value measured by the second peak detector drops below a secondthreshold (e.g., the out of band blocker finished its transmission), adetermination may be made to cause a mode switch back to the rural mode.

As illustrated in FIG. 5C, wireless device 500 may be arranged in abypass mode 503 as in FIG. 4C (and thus the same reference numerals,albeit of the “500” series, are used). In bypass mode 503, detectorcircuit 555 may couple at an input to SAW filter 575, as in this modethere is no active LNA. Also note that in this configuration there is noneed for presence of a sense amplifier. Note that an additional peakdetector coupled to the SAW1 pad may be useful to determine whether itmay be appropriate to transition back from the bypass mode to the urbanmode. Yet understand that as discussed above with regard to FIGS. 4A-4C,there are no hardware differences, only different control of switchingcircuitry to enable the various modes illustrated in FIGS. 5A-5C. Alsonote that it is possible, e.g., based on firmware and/or hardwarecontrol, to enable an associated SoC to enter into a given low powermode while the RF detector infrastructure is active.

Referring now to FIG. 6A, shown is a block diagram of a system on chipin accordance with an embodiment. As shown in FIG. 6A, SoC 600 includesa controller 610, which may be a radio processor, e.g., implemented as asequencer (which in one embodiment may be implemented as an embedded ARMM0 central processing unit (CPU)) that is configured to control, in astatic or dynamic manner, a front end circuit having switching circuitryas described herein. In one or more embodiments, controller 610 mayexecute instructions stored in a non-transitory storage medium. Suchinstructions that are used to perform the control of switching circuitrymay be implemented as firmware and/or software. For example, a givenwireless device manufacturer may provide firmware that is to staticallyaffix the switching circuitry to provide for a static mode of operation,e.g., a given one of the rural, urban and/or bypass modes describedherein. In other cases, the firmware is used to provide dynamic control.In this case, based on environmental conditions, a given one of thesemodes may be selected, where the selection may dynamically change duringoperation based on environmental conditions (as determined, e.g., basedon detected RF levels).

With reference to FIG. 6A, controller 610 provides control signals tocontrol a front end module as described herein. Such control may bebased, in a dynamic implementation, in response to detected RF levelsreceived via one or more analog sense inputs.

In an embodiment, the RF level detector is multiplexed from the FEM toSoC 600, where it can be measured and compared to a predeterminedthreshold. If under the threshold, no change is made. If the signallevel is above the threshold, SoC 600 quickly changes the receiveroperating mode of the FEM to urban mode. In an embodiment, this changemay be implemented within an Automatic Gain Control (AGC) algorithm.When switching, the relative order of the receiver RF signal processingpath is changed, but the desired signal amplitude may change verylittle. Out of band blocking signal levels at the input to the LNA wouldreduce by the amount of the filter selectivity.

As shown, feedback information from the front end module is provided toan analog comparator 620 which further receives a comparison voltagegenerated by a digital-to-analog converter (DAC) 615. Controller 610 mayprovide a comparison level signal to DAC 615 to cause it to generate thecomparison voltage at a given level. More specifically, DAC 615 maygenerate a reference voltage signal, namely a given one of multiplethreshold levels depending upon mode of operation, under control ofcontroller 610.

In various embodiments, comparator 620 performs comparisons continuouslywithout any processor required, improving response time. If a detectedRF signal level exceeds a given threshold, comparator 620 sends aninterrupt to controller 610. Once controller 610 is notified of thisinterrupt, it chooses the next mode (in some cases based on theapplication, some modes may not be allowed). Then controller 610 sends amessage to indicate the mode change to the front end module. In anembodiment, this message may be a communication of control signals suchas a 4-bit signal on the FEM CTRL0-3 lines.

Still referring to FIG. 6A, incoming RF signals from the front endmodule are received via an Rx pin and are provided to an RF circuit 630,which may include an optional LNA and other signal processing circuitry,such as filters, other gain control and so forth. Thereafter, thereceive RF signal is downconverted in a mixer 640 that receives a mixingsignal from a local oscillator (LO) 645. The downconverted signalsoutput from mixer 640 may be provided to a baseband processor 650 forbaseband processing, and thereafter may be provided to a digital signalprocessor (DSP) 660 (that in turn may couple to a main CPU of SoC 600,not shown in FIG. 6A). Understand while shown at this high level in theembodiment of FIG. 6A, many variations and alternatives are possible.

For example, in FIG. 6A, SoC 600 is shown at a relatively high level ofdetail, and various components are not fully illustrated. Referring nowto FIG. 6B, shown is a more detailed block diagram of an SoC inaccordance with an embodiment. As shown in FIG. 6B, SoC 600 maygenerally be arranged the same as SoC 600 of FIG. 6A. However, furtherdetails of the components included are illustrated.

In this arrangement, further details of a receiver RF signal processingpath are shown. Thus as illustrated, an RF circuit 630 is shown infurther detail, including a passive network 632 which may include one ormore passive attenuators or so forth and an LNA 634. As furtherillustrated, a downconverted signal output from mixer 640 may beadditionally gain controlled in a programmable gain amplifier (PGA) 647,the output of which is coupled to an analog-to-digital converter (ADC)648, which digitizes the signal information and provides it to a modem650 (which may be part of DSP 650 shown in FIG. 6A).

As further shown in FIG. 6B, various detectors, namely an RF peakdetector 633 and an intermediate frequency (IF) peak detector 646, maycouple to the RF signal processing path to measure signal levels andprovide the information to an AGC control circuit 670. Based at least inpart on this information, AGC control circuit 670 may control thevarious gain network components within SoC 600. Furthermore, in responseto an indication of a loading level of passive network 632, based atleast in part on the detected power level by RF peak detector 633,controller 610 may be triggered, e.g., responsive to an interrupt, tomove into a bypass mode to eliminate such overloading, as describedherein.

Referring now to FIG. 7 , shown is a flow diagram of a method inaccordance with an embodiment. Specifically as shown in FIG. 7 , method700 is a method for dynamically controlling a wireless device to operatein a selected one of multiple modes. As such, method 700 may beperformed by a controller, which may be present in an SoC of thewireless device that couples to a front end module of the wirelessdevice. In other cases, the controller may be included in the front endmodule itself. It is further possible to include all of the processingcircuitry, controller and front end module circuitry in a singleintegrated circuit.

In any event, method 700 begins by configuring the wireless device intoa rural mode (block 710). In this mode, a receiver signal processingpath is effected by way of switching circuitry to pass an RF signalreceived via an antenna to an LNA and thereafter to a filter (e.g., aSAW filter) that may be implemented off-chip from the front end module.

At this point, the wireless device may enter into normal operation whereit receives and processes RF signals and further may transmit RFsignals. During operation, at block 720 the RF signal level at the LNAinput may be measured, e.g., via an RF level detector. This informationmay be provided to the controller via an analog sense pin. Then atdiamond 725, it may be determined whether the RF signal level is lessthan a first threshold. In embodiments, this first threshold may be setat a relatively low level such that this comparison indicates whetherthe received RF signal benefits from a highest sensitivity condition. Ifit is determined that the RF signal level is less than the firstthreshold, control passes to block 730 where operation in the rural modemay be maintained. As such, control passes back to block 720.

Still with reference to FIG. 7 , instead if it is determined that the RFsignal level exceeds this first threshold, control passes to block 735where the wireless device may be configured into an urban mode. In thisurban mode, an RF signal received via the antenna may be provided to thefilter and thereafter to the LNA. Control next passes to diamond 740 todetermine during this urban mode operation whether the RF signal levelis less than a second threshold. Note that this second threshold may beset at a higher level than the first threshold.

If it is determined that the RF signal level is less than this secondthreshold, control passes to diamond 745 to determine whether conditionsare such that one or more criteria for a return to a rural mode havebeen met. Although embodiments are not limited in this regard, suchcriteria may include a timeout condition, a loss of signal, or anothersuch criteria. Another criteria may include additional detectedinformation such as a level measured by a second peak detector, asdiscussed above. If it is determined that such criteria are met, controlpasses back to block 710 discussed above for returning to the ruralmode. Otherwise, control passes to block 750 where operation of thewireless device in the urban mode is maintained.

Still with reference to FIG. 7 , if it is determined that the RF signallevel exceeds the second threshold, control passes to block 760 wherethe wireless device may be configured into a bypass mode. In this bypassmode, the LNA is removed from the signal processing path, as theincoming RF signal is of sufficient strength. In the bypass mode,control passes to diamond 770, where it may be determined whether the RFsignal is less than a third threshold, which may be at a different levelthan the other thresholds. Note that in the bypass mode, the detectionof the RF signal may occur at an input (and/or output) to the filter, asthere is no LNA in the receive signal processing path.

If it is determined that the RF signal level exceeds this thirdthreshold, operation in the bypass mode is maintained (block 780).Otherwise, when it is determined that the RF signal level falls belowthe third threshold, control passes to diamond 790 to determine whetherone or more criteria for return to another mode have been met. Suchcriteria may be as discussed above (such as timeout period, loss ofsignal or so forth). If such one or more criteria have been met, controlpasses to diamond 795 to determine whether the wireless device is to beconfigured back into the urban or rural mode.

Understand that while in FIG. 7 a method is disclosed for dynamicallyreconfiguring a wireless device to operate in one of three modes,embodiments are not so limited. That is, in other cases a wirelessdevice may be configured for more than three modes of operation. Instill other cases, there may be only two modes such as a given two ofthe three above-described modes. In such cases, operation may proceed asdescribed in FIG. 7 with the removal of whatever mode is not available.

Embodiments may be used to identify whether transition back to a lessprotected mode will cause re-occurring of an overload condition. Tohandle this problem, embodiments may provide a timer-based mechanismhaving an adaptive timeout period. The timer starts after transitioningto a more protected mode. When a timeout occurs, the controllertransitions back to a less protected mode.

The timeout period is based on the duration between transitioning to theless protected mode and the time before the next overload condition isdetected. If this time is short, it may indicate a hostile environment(e.g., a frequently present strong adjacent channel), which makesstaying longer in the more protected mode more desirable (extendingtimeout period). Conversely, when the duration between transitioning tothe less protected mode and the time before the next overload conditionis relatively long, then it may be desirable to reduce the timeoutperiod. Adjusting the timeout period can be done in steps using multipleiterations (multiple transitions from a protected to a less protectedmode), which results in a timeout period that is based on averaging overvarying channel conditions.

In an urban environment, for example, there could be several nearbytransmitters causing strong interference and hence a high probability ofneeding a protected mode. With an adaptive timeout period, a relativelylong timeout period may cause the FEM to stay in the more protected moderelatively longer. This may result in a low probability of packet lossfrom interference, simply because the FEM does not spend much time inthe less protected rural mode.

Conversely, in a rural environment, there may be very few nearbytransmitters and hence a low probability of needing a more protectedmode. With an adaptive timeout period herein, a relatively short timeoutperiod may cause the FEM to stay in the more protected mode relativelylonger. This may result in a relatively low probability of packet lossbecause of a lag of sensitivity, simply because the FEM does not spendmuch time in a more protected mode.

Referring now to FIG. 8A, shown is a state diagram of dynamic operationof a wireless device in accordance with an embodiment. As shown in FIG.8A, state diagram 800 illustrates three available modes in which awireless device may be configured, namely, a rural mode 810, an urbanmode 820, and a bypass mode 830. These various modes and theirconfigurations and operations have been described above. State diagram800 may be representative of control operations performed by acontroller, e.g., of an SoC associated with a front end module havingswitching circuitry as described herein. Of course in otherimplementations, a single integrated circuit may include front endcircuitry and associated switching circuitry. In yet otherimplementations, a front end module may include sufficient processingcircuitry to implement the operation of state diagram 800 itself.

In any case, as shown in FIG. 8A operation of a wireless device beginsin rural mode 810. Then responsive to a given interrupt, the state ofthe wireless device may transition into a given one of urban mode 820 orbypass mode 830. More specifically, in response to a first type ofinterrupt (int_1), the wireless device may be reconfigured from ruralmode 810 to urban mode 820. In one or more embodiments, this first typeof interrupt may be triggered in response to a detection of an RF signallevel that exceeds a given threshold, as discussed above.

Thus with reference to this first type of interrupt, when a power levelexcursion that exceeds a given threshold is detected, the wirelessdevice may be reconfigured to urban mode 820. Thereafter, following atimeout (TO) period, the state may revert back to rural mode 810. Invarious embodiments as described above, this timeout period may be anadaptive or configurable timeout period. For example, when a durationwithin rural mode 810 is short (e.g., lower than a target duration), thetimeout period may be extended such that operation in urban mode 820occurs for longer periods of time.

Still referring to FIG. 8A, operation may also pass from rural mode 810directly to bypass mode 830 in response to another type of interrupt. Inone or more embodiments, this second type of interrupt (int_2) may occurwhen a passive network of a receiver RF signal processing path reachesan attenuation threshold. In one or more embodiments, this second typeof interrupt may have higher priority than the first type of interrupt.As such, in response to triggering of both of these interrupts, controlpasses from rural mode 810 to bypass mode 830, rather than from ruralmode 810 to urban mode 820. As illustrated, after completion of atimeout period, control passes from bypass mode 830 back to rural mode810.

Still with reference to FIG. 8A, when in urban mode 820 and the secondtype of interrupt is triggered, the state transitions from urban mode820 to bypass mode 830. Understand while shown with these particularstate transitions and modes present in FIG. 8A, variations andalternatives are possible. For example, in some cases a timeout timermay be reset when power exceeds a given threshold. Such timeout resetsmay occur when residing in one of urban and bypass modes.

Referring now to FIG. 8B, shown is a state diagram of dynamic operationof a wireless device in accordance with another embodiment. In general,this state diagram operates the same as in FIG. 8A, with the addition ofresetting timeout timers when in a given state and detected RF signalsare over a given threshold.

Thus as shown in FIG. 8B, when a first type of interrupt is triggeredwhile present in the urban or bypass modes, a timer reset state (825 or835) occurs in which the timeout timer is reset. In this implementation,note that the return from one of urban or bypass modes to the rural modemay occur when the timeout period has expired and the measured RF powerlevel remains below the given threshold during the timeout period.Otherwise when an RF power level excursion beyond a given thresholdoccurs in one of these modes, the first type of interrupt is triggeredand the timeout timer is reset.

To control the dwell time in a more protected mode, a controller may beconfigured to compare a target or threshold dwell time value with thetime spent in the less protected mode. As one example, if the time spentin rural mode is between the target dwell time and (e.g.,) 2*targetdwell time then the dwell time in the urban mode (u_dwell timeout) isunchanged. If the time spent in the rural mode is shorter than thetarget dwell time, indicating significant interference, then the dwelltime in urban mode is increased. This reduces the repetition frequencybetween rural and urban transitions. A packet may be lost during suchtransition whereas it may have been successfully received if staying inurban mode. If the time spent in the rural mode is longer than 2*targetdwell time, indicating no severe interference conditions, then the dwelltime in urban mode may be shortened. By doing so, the receiver can spendmore time in a more sensitive mode to receive weaker signals.

Referring now to FIG. 9A, shown is a flow diagram of a method inaccordance with another embodiment. More specifically, method 900 ofFIG. 9A is a more detailed method for dynamically controlling a frontend circuit of a wireless device in accordance with an embodiment. Assuch, method 900 of FIG. 9A may be performed by hardware circuitry, suchas a controller present within the wireless device, e.g., amicrocontroller within an SoC, control circuitry within a front endmodule itself or another processing circuit. The hardware circuitry mayexecute instructions stored in a non-transitory storage medium such as anon-volatile memory that may be present within the SoC, front end moduleor other integrated circuit of the wireless device.

As shown in FIG. 9A, method 900 begins when a receiver is enabled andprevious initial dwell time values may be restored (block 905). In oneor more embodiments, these initial dwell times may be in the form ofexponent values that may be used to determine dwell times in urban andbypass modes. In such one or more embodiments, these exponential valuesmay be configured to have an initial value, e.g., seven (which acts asan exponential value when there is no history available). While anexponent is used in this example to change dwell times, in other cases alinear approach may be used. These exponent values thus may determinethe (dwell) time in urban and bypass modes (to be controlled to bewithin minimum and maximum values (E_urban_min and max and E_bypass_minand max, as used in Tables below), with initial values of E=7 when nohistory is available (E_urban_prev and E_bypass_prev). Also in theTables below, it may be assumed that a typical packet duration (tpd) is20 milliseconds (ms), and a target value for duration in a given modewithout needing a transition (Target) may be set at 1024 tpd.

As shown in FIG. 9A, control next passes to block 910 where the wirelessdevice (and more particularly the front end module) may be initializedinto the rural mode. Various operations may occur for thisinitialization and configuration into the rural mode, including settingswitching circuitry as described herein. In addition, one or more RFlevel detectors may be initialized, e.g., by discharging filtercapacitors. In addition, a duration timer to maintain a duration ofoperation in the rural mode may be set. Further, an analog comparatorthat compares a detected RF power level to a given threshold may beenabled to trigger an interrupt in response to a power excursion.

Still referring to FIG. 9A, control next passes during operation in therural mode to determine whether an interrupt is detected (diamond 915),meaning that a power level has exceeded a threshold. If so, control nextpasses to diamond 920 to determine whether the urban mode is disabled(which may be based on an enable bit set to indicate a skip of the urbanmode). If such enable bit is set to enable this skip, control passesfrom diamond 920 directly to block 965 for reconfiguration of thewireless device (namely, the front end module) into the bypass mode, aswill be described further below.

Otherwise, if there is no skip indicated, control passes from diamond920 to block 925 where operation of the wireless device (namely thefront end module) may be reconfigured into the urban mode. At block 925various operations may be performed to appropriately reconfigure thefront end module to the urban mode, including appropriate setting ofswitching circuitry. In addition, similar operations discussed above forconfiguration into the rural mode may be performed. These operationsinclude reading a rural time and updating an urban mode dwell timecalculation based at least in part thereon (one example of which isshown in Table 1 below). Further operations include setting a timeoutperiod for the urban dwell time, and starting the timer and resetting anAGC control circuit of the SoC. Accordingly at this point, operationproceeds in the urban mode

Referring now to Table 1, shown is pseudocode for performing an updatecalculation for an urban dwell time duration in accordance with anembodiment. In this pseudocode of Table 1, the above-describedparameters can be used.

TABLE 1 Update u_dwell calculation: • IF rural_time < target THENE_urban = MIN(E_urban_prev + 1, E_urban_max) ELSE IF rural_time > 2 *target THEN E_urban = MAX(E_urban_prev − 1, E_urban_min) ELSE E_urban =E_urban_prev u_dwell timeout = tpd * 2{circumflex over ( )}E_urban storeE_urban as E_urban_prev

Still referring to FIG. 9A, it may be determined at diamond 930 whetherthe urban mode dwell time duration has timed out. If so, and an AGCfreeze is not active, control passes back to block 910 for returning tothe rural mode. Note that the AGC freeze is an indication that changesto AGC circuitry are stalled in response to detection of a valid packet.In this way, embodiments may be configured to prevent mode changes whilea valid packet is being received, to avoid possible disruption to thereception. To this end, a controller may check for any detection thatindicates that a valid packet is being received. Examples of signalsthat can be used to check if a valid packet is being received include:timing detection, preamble detection, sync word detection, RSSI, AGCactivity, or so forth. If there is an indication that a valid packet isreceived, the controller may wait until the packet is received, or use atimeout and transition after the timeout. In an embodiment, a AGCcontrol circuit may be prevented from updating AGC settings (a so-calledAGC freeze as shown in FIG. 9A) when a valid packet is detected.

If the urban mode dwell time duration has not passed, it may next bedetermined at diamond 935 whether an interrupt is received. If so, andthere is no AGC freeze (as determined at diamond 940), control passes toblock 965 for reconfiguration into the bypass mode. At block 965,operations to reconfigure the FEM into the bypass mode may includereading an urban timer, updating a bypass mode dwell calculation (e.g.,in accordance with Table 2 below), setting a timeout period for thebypass dwell time, and starting the timer and resetting the AGC controlcircuit.

Referring now to Table 2, shown is pseudocode for performing an updatecalculation for a bypass dwell time duration in accordance with anembodiment. In this pseudocode of Table 2, the above-describedparameters can be used.

TABLE 2 Update b_dwell calculation : • IF urban_time < target THENE_bypass = MIN(E_bypass_prev + 1, E_bypass_max) ELSE IF urban_time > 2 *target THEN E_bypass = MAX(E_bypass_prev − 1, E_bypass_min) ELSEE_bypass = E_bypass_prev b_dwell timeout = tpd * 2{circumflex over( )}E_bypass store E_bypass as E_bypass_prev

Still with reference to FIG. 9A, when in operation in the bypass mode,it may be determined at diamond 970 whether the bypass mode dwell timeduration has timed out. If so, and there is no AGC freeze (as determinedat block 975), control passes to a selected one of the urban or ruralmodes depending on whether the skip from the bypass to the urban mode isactive (as determined at diamond 980).

Understand while shown at this high level in the embodiment of FIG. 9A,many variations and alternatives are possible. For example, dynamicupdates to urban and dwell timeout periods may occur, and further mayonly occur when it can be established that a given mode transition isnot linked to a desired packet (which may be determined based onpreamble detection and timing information). In this way, dwell timeadaptations may be excluded when transitions are potentially the resultof receipt of a high power desired packet.

Overload conditions that trigger transitions may be handled the same way(as described in FIG. 9A), regardless whether they are caused byinterference or desired packets. Just like strong interference, a strongdesired packet may also push the power level over the detectionthreshold. If this happens shortly after transitioning to a lessprotected mode, then that will likely result in a longer dwell timeoutcalculation, the same way it would when receiving a strong interferer. Adesired signal could potentially be received successfully, even when theFEM is transitioning to a more protected mode during the reception ofpreamble. So, it may not be needed to increase the dwell time based onthe timings of a desired signal.

To this end, it may be determined whether transition to a more protectedmode can be linked to a desired signal. In one or more embodiments, thisdetermination may be performed by considering preamble detection. Whenthe transition is related to a desired packet, one can expect thepreamble to be detected within a certain period (RXpdt) after thetransition. Instead of preamble detection, one could use many otherdetection signals, for example, sync word detection, timing detection,AGC freeze detection, or so forth. The timings of these signals may bedifferent than the preamble detection time out (RXpdt), so adjustmentsto this time may be based on what signal or signal combination is used.

If the transition can indeed be linked to a desired packet(x_dwell<RXpdt), then the dwell timeout remains unchanged. However whenthe transition cannot be linked to a desired signal (x_dwell≥RXpdt),then the x_dwell timeout may be recalculated based on the time spent inthe less protected mode preceding the transition to the current moreprotected mode. In this way, desired packets may be excluded fromdetermining the dwell timeouts.

Referring now to FIG. 9B, shown is a flow diagram of a method inaccordance with another embodiment. Method 901 of FIG. 9B is generallythe same as method 900 of FIG. 9A, and common elements are notdiscussed. Instead, the following discussion relates to further dynamicupdates to dwell times depending on whether mode transitions are causedby desired signal detections.

Thus in this implementation, when a preamble is detected when in anurban or bypass mode (as determined at diamonds 955 and 985), it nextmay be determined (diamonds 960 and 990) whether the current timeduration in the relevant mode (either in the urban mode or the bypassmode) is less than a receiver preamble-to-detection timeout (Rx_pdt),which may be used to determine whether a transition is caused by adesired signal. If the current duration in the given mode exceeds thisvalue of the preamble detection timeout, the relevant dwell timeoutperiod may be updated (at one of blocks 950 and 995). In other aspects,operation of method 901 may be the same as discussed above for method900 of FIG. 9A. Of course, variations and alternatives are possible.

In some use cases it is possible to configure a wireless device whenimplemented in a particular environment in the field into a fixed mode.For example, assume a wireless device such as a smart meter or so forthis installed into a rural environment. When installed, the wirelessdevice, although having multiple modes available, may be staticallyconfigured, e.g., by way of firmware, to be affixed into the rural mode.However over time as to the nature of the environment changes andadditional development occurs, this rural location may have many morewireless devices present, such that some amount of interference by wayof blockers occurs. As such the rural mode may no longer be the mostappropriate mode for operation of the initially present wireless device.

Referring now to FIG. 10 , shown is a flow diagram of a method inaccordance with yet another embodiment. More specifically, FIG. 10illustrates a method 1000 for monitoring a network environment over aperiod of time and identifying when a nature of that network environmenthas sufficiently changed to cause selected wireless devices to beconfigured for operation in a different static mode.

In an embodiment, method 1000 may be performed by a central controlentity, such as a central server, e.g., of a service provider thatmaintains a number of wireless devices such as smart meters. As such,method 1000 may be performed by hardware circuitry such as may bepresent in one or more cloud servers. These cloud servers may includeprocessors, memories or other storages, network interfaces, andnon-volatile memories (e.g., to store instructions for execution ofmethod 1000).

As illustrated, method 1000 begins by monitoring performance informationof wireless devices in the network environment (block 1010). Forexample, the network environment may be a wireless mesh network such aspresent in a given neighborhood in which each home has at least onesmart meter with a wireless device including switching circuitry and soforth as described herein. The performance information may be, in anembodiment, one or more signal quality metrics, such as one or more ofnumber of retransmissions, number of payload errors, number of framechecksum (FCS) errors, number of cyclic redundancy check (CRC) errors,RSSI, SNR, blocking signal information or so forth. In some cases, theperformance information also may include network performance informationsuch as latency data regarding latency of communications (e.g., based onretransmissions or in another manner) between the central server and thewireless devices. Note that this monitoring may occur on an iterativebasis, e.g., on a monthly, annual or other relatively long term basis.

Control next passes to block 1020 where a monitoring database may beupdated based on the monitoring. For example, a single entry may beprovided to include an overall quality metric or there may be multipleentries, each associated with a wireless device and storing some type ofsignal quality information or other performance information. Controlnext passes to diamond 1030 to determine whether sufficient time sincethe last network analysis has occurred. As described above, this may bea relatively long duration. If not, control passes back to block 1010for further monitoring of the network environment.

If it is determined that sufficient time has elapsed, control passes toblock 940 to analyze the monitoring database to determine whether thewireless devices should be caused to enter into a different operatingmode. For example, with the assumptions above of wireless devicesinitially configured into a rural mode, the performance information overtime may indicate a degradation, e.g., due to the increased number ofwireless devices present in the environment.

The determination at diamond 1050 may be used to initiate aconfiguration update to a different mode. Control thus passes in thisinstance to block 1060. At block 1060 the central server may send a codeupdate to the wireless devices in this network environment. For example,the cloud server may send an over-the-air firmware update. This updatemay include code to cause a controller of each of the wireless devicesin the network environment to re-configure from the rural mode to theurban mode. Understand while discussed with this particular example, ofcourse, re-configurations between other modes also may occur usingmethod 1000.

For example, in one implementation the network environment can besegmented into different segments or portions (e.g., based on physicallocation), which can be independently monitored and controlled. In thisway, an update may be performed first to one or more wireless devices ina first portion. Additional monitoring and analysis may then beperformed for these updated wireless devices to confirm that a givenupdate (e.g., code update) results in acceptable levels of performance.And, once such improved performance is confirmed the central server maycause additional wireless devices, e.g., in one or more additionalportions of the network environment to be updated. In furtherembodiments, the dynamic updates described herein may be performed on anindividual wireless device basis when it is determined that performanceof an individual wireless device has degraded (e.g., below a giventhreshold).

Embodiments may be implemented in many different devices. Referring nowto FIG. 11 , shown is a block diagram of a representative IoT device1100 in accordance with an embodiment. In the embodiment shown in FIG.11 , IoT device 1100 may be any connected device to provide a variety ofdifferent functionality. In the high level shown in FIG. 11 , IoT device1100 includes an integrated circuit 1105, e.g., a microcontroller,wireless transceiver that may operate according to one or more wirelessprotocols (e.g., WLAN-OFDM, WLAN-DSSS, Bluetooth, among others), orother device that can be used in a variety of use cases, includingsensing, metering, monitoring, embedded applications, communications,applications and so forth, and which may be particularly adapted for usein an IoT device. In turn, integrated circuit 1105 couples to a frontend module 1190 including switching circuitry 1192 and further to anoff-chip filter 1185. In embodiments, switching circuitry 1192 may becontrolled to enable operation in a given one of multiple availablereceive modes, either statically or dynamically, as described herein.

In the embodiment shown, integrated circuit 1105 includes a memorysystem 1110 which in an embodiment may include a non-volatile memorysuch as a flash memory and volatile storage, such as RAM. In anembodiment, this non-volatile memory may be implemented as anon-transitory storage medium that can store instructions and data. Suchnon-volatile memory may store instructions, including instructions forgenerating control signals (e.g., in the form of the front end modecontrol signals discussed above) for use in controlling switching ofswitching circuitry 1192 as described herein.

Memory system 1110 couples via a bus 1150 to a digital core 1120, whichmay include one or more cores and/or microcontrollers that act as a mainprocessing unit of the integrated circuit. In turn, digital core 1120may couple to clock generators 1130 which may provide one or more phaselocked loops or other clock generator circuitry to generate variousclocks for use by circuitry of the IC.

As further illustrated, IC 1105 further includes power circuitry 1140,which may include one or more voltage regulators. Additional circuitrymay optionally be present depending on particular implementation toprovide various functionality and interaction with external devices.Such circuitry may include interface circuitry 1160 which may provideinterface with various off-chip devices, sensor circuitry 1170 which mayinclude various on-chip sensors including digital and analog sensors tosense desired signals, such as for a metering application or so forth.

In addition as shown in FIG. 11 , transceiver circuitry 1180 may beprovided to enable transmission and receipt of wireless signals, e.g.,according to one or more of a local area or wide area wirelesscommunication scheme, such as Zigbee, Bluetooth, IEEE 802.11, IEEE802.15.4, cellular communication or so forth via connection to front endmodule 1190, in turn coupled to an antenna 1195. Understand while shownwith this high level view, many variations and alternatives arepossible.

Note that an IoT device leveraging an embodiment may be, as twoexamples, an IoT device of a home or industrial automation network or asmart utility meter for use in a smart utility network, e.g., a meshnetwork in which communication is according to an IEEE 802.15.4specification or other such wireless protocol.

Referring now to FIG. 12 , shown is a high level diagram of a network inaccordance with an embodiment. As shown in FIG. 12 , a network 1200includes a variety of devices, including smart devices such as IoTdevices, coordinator devices and remote service providers. In theembodiment of FIG. 12 , a mesh network 1205 may be present, e.g., in aneighborhood having multiple IoT devices 1210 _(0-n) such as smartmeters.

Such IoT devices may include switching circuitry as described herein, toenable controllable operation in a given one of available transmit andreceive modes. As shown, at least one IoT device 1210 couples to acoordinator device 1230 that in turn communicates with a remote serviceprovider 1260 via a wide area network 1250, e.g., the internet.

In an embodiment, remote service provider 1260 may include one or morebackend servers that can be used in provisioning and managingcommunication with IoT devices 1210. Such backend server may include oneor more processors, memories, storage, interface circuitry and so forth,to enable interaction within network 1200. And remote service provider1260 may perform the long term network analysis and update of operationmodes of one or more IoT devices 1210 based on this historical analysisof performance, such as described in FIG. 10 above. Understand whileshown at this high level in the embodiment of FIG. 12 , many variationsand alternatives are possible.

While the present disclosure has been described with respect to alimited number of implementations, those skilled in the art, having thebenefit of this disclosure, will appreciate numerous modifications andvariations therefrom. It is intended that the appended claims cover allsuch modifications and variations.

What is claimed is:
 1. A non-transitory storage medium comprisinginstructions that, when executed, cause a device to perform a methodcomprising: receiving, in a controller of a wireless device, at leastone of a first interrupt or a second interrupt, wherein: the firstinterrupt is to indicate that a receive radio frequency (RF) signalreceived in a front end circuit of the wireless device is overloading atleast a low noise amplifier (LNA) of the front end circuit; and thesecond interrupt is to indicate that the receive RF signal isoverloading at least a passive network of a system on chip (SoC) of thewireless device; and in response to the at least one of the firstinterrupt or the second interrupt, reconfiguring the front end circuitfrom a first mode into a second mode, wherein a relative order of areceiver RF signal processing path is different in the first mode thanin the second mode.
 2. The non-transitory storage medium of claim 1,wherein the method further comprises in response to the first interrupt,reconfiguring the front end circuit from the first mode comprising arural mode in which an input to the LNA is coupled an antenna to asecond mode comprising an urban mode in which the input to the LNA iscoupled to an RF filter.
 3. The non-transitory storage medium of claim2, wherein the method further comprises: receiving, in the controller ofthe wireless device, the second interrupt when the front end circuit isin the second mode; and in response to the second interrupt,reconfiguring the front end circuit from the second mode to a third modecomprising a bypass mode in which the LNA is bypassed.
 4. Thenon-transitory storage medium of claim 1, wherein the method furthercomprises in response to the second interrupt, reconfiguring the frontend circuit from a rural mode in which an input to the LNA is coupled anantenna to a third mode comprising a bypass mode in which the LNA isbypassed.
 5. The non-transitory storage medium of claim 1, wherein themethod further comprises receiving the first interrupt from acomparator, the comparator to generate the first interrupt when powerlevel information regarding the receive RF signal exceeds a firstthreshold.
 6. The non-transitory storage medium of claim 1, wherein themethod further comprises receiving the second interrupt when power levelinformation regarding the receive RF signal received from a detectorcoupled to the passive network exceeds a second threshold.
 7. Thenon-transitory storage medium of claim 1, wherein the method furthercomprises in response to receiving the first interrupt and the secondinterrupt, prioritizing the second interrupt, and reconfiguring thefront end circuit from the first mode to a third mode in which the LNAis bypassed.
 8. The non-transitory storage medium of claim 1, whereinthe method further comprises: receiving, in the controller of thewireless device, the first interrupt when the front end circuit is inthe second mode; in response to the first interrupt, resetting a timeoutperiod; and after the timeout period, reconfiguring the front endcircuit from the second mode to the first mode.
 9. A method comprising:configuring a front end circuit of a wireless device into a first modein which a low noise amplifier (LNA) is included in a receiver radiofrequency (RF) signal processing path; and reconfiguring the front endcircuit into a second mode in which the LNA is bypassed, based at leastin part on an overload condition in an RF circuit of a system on chip(SoC) of the wireless device, the RF circuit of the SoC coupled toreceive a receive RF signal from the front end circuit.
 10. The methodof claim 9, further comprising reconfiguring the front end circuit fromthe second mode to the first mode after a timeout period.
 11. The methodof claim 9, further comprising reconfiguring the front end circuit intoa third mode in which the LNA is located at a different relativeposition in the receiver RF signal processing path than in the firstmode, based at least in part on an overload condition in the front endcircuit.
 12. The method of claim 11, further comprising: receiving, in acontroller of the SoC, a first interrupt in response to the power levelof the receive RF signal exceeding a first threshold; and reconfiguringthe front end circuit into the third mode in response to the firstinterrupt.
 13. The method of claim 9, further comprising: receiving, inthe SoC, a power level of the receive RF signal and in response to thepower level of the receive RF signal exceeding a first threshold,reconfiguring the front end circuit from the first mode into a thirdmode in which an input of the LNA is coupled to a RF filter of thereceiver RF signal processing path; and receiving, in the SoC, the powerlevel of the receive RF signal and in response to the power level of thereceive RF signal exceeding a second threshold different from the firstthreshold, reconfiguring the front end circuit from the third mode intothe second mode.
 14. The method of claim 9 wherein configuring the frontend circuit into the first mode comprising causing an input of the LNAto be coupled to an antenna.
 15. A wireless device comprising: a firstintegrated circuit comprising a radio frequency (RF) front end module,the RF front end module comprising: a transmit path to receive, processand output a transmit RF signal, the transmit path comprising a poweramplifier; a receive path to receive, process and output a receive RFsignal, the receive path comprising a low noise amplifier (LNA);switching circuitry coupled to the transmit path and the receive path; acontrol circuit coupled to the switching circuitry, the control circuitto control the switching circuitry to configure the receive path foroperation in one of a plurality of modes; and a second integratedcircuit coupled to the first integrated circuit, the second integratedcircuit comprising a controller to: in response to a first interrupt,configure the receive path of the first integrated circuit into a secondmode in which a receiver RF signal processing path has a secondsensitivity level; maintain a timeout time during operation in thesecond mode; and after the timeout time, reconfigure the receive path ofthe first integrated circuit from the second mode to a first mode havinga first sensitivity level, the first sensitivity level greater than thesecond sensitivity level.
 16. The wireless device of claim 15, whereinthe controller is to cause the control circuit to configure the receivepath for the operation in the second mode in response to an overload ofthe LNA, wherein in the second mode the receive path comprises an RFfilter having an output coupled to an input of the LNA.
 17. The wirelessdevice of claim 16, wherein the controller is to receive the firstinterrupt to indicate the overload of the LNA, the second integratedcircuit comprising a comparator to compare a power level of the receiveRF signal to a comparison signal and generate the first interrupt inresponse to the power level of the receive RF signal exceeding thecomparison signal.
 18. The wireless device of claim 15, wherein thecontroller is to cause the control circuit to configure the receive pathfor the operation in a third mode in which the LNA is bypassed inresponse to an overload of an RF circuit of the second integratedcircuit.
 19. The wireless device of claim 18, wherein the controller isto receive a second interrupt to indicate the overload of the RFcircuit, the second integrated circuit comprising a detector coupled tothe RF circuit to detect the overload of the RF circuit and generate thesecond interrupt in response to the detection of the overload of the RFcircuit.
 20. The wireless device of claim 15, wherein the controller, inresponse to: the first interrupt, is to configure the receive path forthe operation in the second mode in which an LNA is coupled to receivethe receive RF signal from an RF filter; a second interrupt, is toconfigure the receive path for the operation in a third mode in whichthe LNA is bypassed; and the first interrupt and the second interrupt,is to configure the receive path for the operation in the third mode.